<template>
	<view>
		<view class="logon-form">
			<view class="form-row">
				<view class="form-item-left">
					<view class="form-icon">
						<image class="img-full" src="@/static/logon/icon1.png"></image>
					</view>
					<uni-easyinput class="form-input" :inputBorder="false" primaryColor="#C2C2C2" trim="all"
						v-model="form.phone" placeholder="请输入手机号" placeholderStyle="font-size: 28rpx;"></uni-easyinput>
				</view>
			</view>
			<view class="form-row">
				<view class="form-item-left">
					<view class="form-icon">
						<image class="img-full" src="@/static/logon/icon2.png"></image>
					</view>
					<uni-easyinput class="form-input" :inputBorder="false" primaryColor="#C2C2C2" trim="all"
						v-model="form.code" placeholder="请输入验证码" placeholderStyle="font-size: 28rpx;"></uni-easyinput>
				</view>
				<view class="form-item-right">
					<view class="get-code">
						获取验证码
					</view>
				</view>
			</view>
			<view class="form-row">
				<view class="form-item-left">
					<view class="form-icon">
						<image class="img-full" src="@/static/logon/icon4.png"></image>
					</view>
					<uni-easyinput class="form-input" :inputBorder="false" primaryColor="#C2C2C2" trim="all"
						v-model="form.password" placeholder="请输入密码"
						placeholderStyle="font-size: 28rpx;"></uni-easyinput>
				</view>
			</view>
			<view class="form-row">
				<view class="form-item-left">
					<view class="form-icon">
						<image class="img-full" src="@/static/logon/icon4.png"></image>
					</view>
					<uni-easyinput class="form-input" :inputBorder="false" primaryColor="#C2C2C2" trim="all"
						v-model="form.confirmPassword" placeholder="请确认密码"
						placeholderStyle="font-size: 28rpx;"></uni-easyinput>
				</view>
			</view>
		</view>
		<view class="bottom-but">
			<view class="submit-but">
				提交
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				form: {
					phone: '',
					code: '',
					nickname: '',
					password: '',
					confirmPassword: '',
				}
			};
		},
		methods: {
			logo() {
				var Td = {
					chk: "0",
					account_id: 1,
					account_no: "J1001",
					account_pw: "J1001",
					broker_id: "LTLH",
					broker_name: "磊金资管",
					is_login: 0,
					status: "0",
					remark: null,
					type: "0",
					day: "0",
					user_name: null,
					real_name: null,
					pid: 0,
					dc: 0,
					mul: 0.0,
					ttype: 0,
					op: 0
				}

				uni.setStorageSync('Td', Td)
			}
		}
	}
</script>

<style lang="scss">
	page {
		background-color: #F4F5F7;
	}

	.logon-form {
		width: 100%;
		background: #FFFFFF;
		padding: 0 24rpx;
		box-sizing: border-box;
		border-top: 2rpx solid #F5F5F5;

		.form-row {
			padding: 28rpx 0;
			display: flex;
			justify-content: space-between;
			border-bottom: 2rpx solid #F5F5F5;

			.form-item-left,
			.form-item-right {
				display: flex;
				align-items: center;
			}

			.form-icon {
				width: 48rpx;
				height: 48rpx;
			}

			.get-code {
				width: 168rpx;
				height: 50rpx;
				background: #EE5953;
				border-radius: 8rpx;
				font-size: 24rpx;
				font-family: PingFang SC, PingFang SC;
				font-weight: 500;
				color: #FFFFFF;
				line-height: 50rpx;
				text-align: center;
			}
		}
	}

	.bottom-but {
		position: fixed;
		bottom: 0%;
		left: 0;
		width: 100%;
		height: 200rpx;
		padding: 32rpx 64rpx;
		box-sizing: border-box;
		background-color: #fff;
		box-shadow: 0rpx 0rpx 16rpx 2rpx rgba(51, 51, 51, 0.2);

		.submit-but {
			width: 622rpx;
			height: 88rpx;
			background: #EE5953;
			border-radius: 16rpx;
			font-size: 34rpx;
			font-family: PingFang SC, PingFang SC;
			font-weight: 500;
			color: #FFFFFF;
			line-height: 88rpx;
			text-align: center;
		}
	}
</style>